import _fetch from './request'
// 获取用户个人信息
function userInfo () {
  return _fetch({
    url: '/v1_0/user/profile',
    method: 'get'
  })
}

// 关注用户
function userFollowings (data) {
  return _fetch({
    url: '/v1_0/user',
    method: 'get',
    data: data
  })
}

// 粉丝列表
function userFollowers (data) {
  return _fetch({
    url: '/v1_0/user/followers',
    method: 'get',
    data: data
  })
}
export { userInfo, userFollowings, userFollowers }
